/*
 * @Author       : NaN 353362604@qq.com
 * @Date         : 2023-08-16 08:55:24
 * @LastEditTime : 2023-08-22 17:04:16
 * @LastEditors  : NaN 353362604@qq.com
 * @FilePath     : \AdminStration\src\Pages\Front\jtgj\Other\SixA02.jsx
 * @Description  :
 */
import { ProjectListTem } from '../Template'
import { MonitorBox } from '../Assets/Template/Monitor'
import { CommonSmallTitle } from '../Assets/Common/SmallTitle'
import { useEventEmitter } from 'ahooks'
import { useState } from 'react'

export const SixA02 = () => {
    const ActiveEvent = useEventEmitter()
    ActiveEvent.useSubscription(val => {
        console.log('标段参数', val)
        setTender(val)
    })

    const [Tender, setTender] = useState()

    return (
        <>
            <ProjectListTem type={1} ActiveEvent={ActiveEvent} />
            <CommonSmallTitle title="视频监控" flex={1246}>
                {Tender && <MonitorBox defaultData={{ Tender }} isHidden={{ Tender: true }} number="9" />}
            </CommonSmallTitle>
        </>
    )
}
